package com.by.bean.tower;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 楼座表
 */
@Data
@ApiModel("楼座")
@TableName("g_tower")
public class Tower {
    @ApiModelProperty("楼座id")
    @TableId
    int id;

    @ApiModelProperty("楼座名称")
    String name;

    @ApiModelProperty("建成日期")
    String buildDate;

    @ApiModelProperty("房屋用途")
    int purpose;

    @ApiModelProperty("楼宇面积")
    int area;

    @ApiModelProperty("单元数量")
    int num;

    @ApiModelProperty("单元楼层数量")
    int unitNum;

    @ApiModelProperty("电梯 1有 2无")
    int elevator;

    @ApiModelProperty("储物室 1有 2无")
    int storage;

    @ApiModelProperty("备注")
    String note;

    @TableLogic
    int isdel;

}
